package net.zjitc.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

//书籍预定实体类
@Data
public class BookOrderHistory {

    private Integer id;

    private Integer bookId;

    private Integer userId;

    private Integer deadlineNum;

    private Boolean isReturn;

    private LocalDate returnTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
